package com.mogu.biguser.dao.biguser;

import com.mogu.biguser.domain.biguser.UserWaterday;
import com.mogu.biguser.service.dto.statistics.ParamTime;
import com.mogu.biguser.service.dto.statistics.Water;

import java.util.List;

public interface UserWaterdayMapper {
    int deleteByPrimaryKey(Short id);

    int insert(UserWaterday record);

    int insertSelective(UserWaterday record);

    UserWaterday selectByPrimaryKey(Short id);

    int updateByPrimaryKeySelective(UserWaterday record);

    int updateByPrimaryKey(UserWaterday record);

    List<UserWaterday> selByUserNum(ParamTime paramTime);

    List<UserWaterday> selSupplyDayByUserNum(ParamTime paramTime);

    List<UserWaterday> selDrainDayByUserNum(ParamTime paramTime);

    List<Water> selWaterDMax(ParamTime paramTime);
    List<Water> selWaterDMin(ParamTime paramTime);

    List<Water> selWaterSMax(ParamTime paramTime);

    List<Water>selWaterSMin(ParamTime paramTime);
}